<?php

namespace app\server\model;

use app\server\inter\CommandStrategy;

class ControlCommandSimple implements CommandStrategy
{

    protected $commandName;

    public function __construct($commandName)
    {
        $this->commandName = $commandName;
    }

    /**
     * @return array|mixed|null
     */
    public function send()
    {
        return Config::get($this->commandName, 'command');
    }
}